import "./App.css";
import React from 'react';
import ListItem from "./components/listItem";
// import ListItemFunc from "./components/ListItemFunc";
import "bootstrap/dist/css/bootstrap.css";
 
const listData = [
  {
    id:1,
    name: 'sony 65寸高清液晶电视',
    price: 4000,
    stock: 10
  },
  {
    id:2,
    name: 'sony 27寸液晶电视',
    price: 2000,
    stock: 10
  },
  {
    id:3,
    name: '华为 65寸高清液晶电视',
    price: 9000,
    stock: 10
  },
]

function App() {
  
  return (
    <React.Fragment>
      <div className="container">
          return <ListItem data={listData}></ListItem>
      </div>
    </React.Fragment>
  );
}

export default App;
